import http from '@/utils/http'

export const reqHomeBannerData = (params = {}) => {
	const { distributionSite = '1' } = params
	return http.get('/home/banner', {
		params: {
			distributionSite,
		},
	})
}

export const reqHomeNewData = () => {
	return http.get('/home/new')
}

export const reqHomeHotData = () => {
	return http.get('/home/hot')
}

export const reqHomeGoodsData = () => {
	return http.get('/home/goods')
}
